try{
	Type.registerNamespace('BorrowInMakeVO');
	//其他入库单
	BorrowInMakeVO = function(){};
	BorrowInMakeVO.prototype = new NCMMPubUtil.SuperVO();
	//主键
	BorrowInMakeVO.PK_SCAN={
		name:"pk_scan", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};

	//表头部分
	//出库类型
	BorrowInMakeVO.CTRANTYPEID={
		name:"ctrantypeid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//出库类型名称
	BorrowInMakeVO.CTRANTYPEID_NAME={
		name:"ctrantypeid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//仓库
	BorrowInMakeVO.CWAREHOUSEID={
		name:"cwarehouseid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//仓库名称
	BorrowInMakeVO.CWAREHOUSEID_NAME={
		name:"cwarehouseid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//库存组织
	BorrowInMakeVO.PK_ORG={
		name:"pk_org", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//表体部分
	//物料
	BorrowInMakeVO.CMATERIALVID={
		name:"cmaterialvid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料编码
	BorrowInMakeVO.MATERIALCODE={
		name:"materialcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料名称
	BorrowInMakeVO.MATERIALNAME={
		name:"materialname", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//规格
	BorrowInMakeVO.MATERIALSPEC={
		name:"materialspec", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//型号
	BorrowInMakeVO.MATERIALTYPE={
		name:"materialtype", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//扫描主数量
	BorrowInMakeVO.NSCANNUM={
		name:"nscannum", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//扫描数量
	BorrowInMakeVO.NSCANASTNUM={
		name:"nscanastnum", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//换算率
	BorrowInMakeVO.VCHANGERATE={
		name:"vchangerate", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位
	BorrowInMakeVO.CUNITID={
		name:"cunitid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位名称
	BorrowInMakeVO.CUNITID_NAME={
		name:"cunitid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位
	BorrowInMakeVO.CASTUNITID={
		name:"castunitid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位名称
	BorrowInMakeVO.CASTUNITID_NAME={
		name:"castunitid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//批次号
	BorrowInMakeVO.VBATCHCODE={
		name:"vbatchcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	BorrowInMakeVO.PK_BATCHCODE={
		name:"pk_batchcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//序列号
	BorrowInMakeVO.VSERIALCODE={
		name:"vserialcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//货位
	BorrowInMakeVO.PK_RACK={
		name:"pk_rack", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//货位名称
	BorrowInMakeVO.PK_RACK_NAME={
		name:"pk_rack_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	BorrowInMakeVO.prototype.getAllAttrs = function(){
		return [BorrowInMakeVO.PK_SCAN,
		BorrowInMakeVO.CTRANTYPEID,
		BorrowInMakeVO.CTRANTYPEID_NAME,
		BorrowInMakeVO.CWAREHOUSEID,
		BorrowInMakeVO.CWAREHOUSEID_NAME,
		BorrowInMakeVO.PK_ORG,
		BorrowInMakeVO.CMATERIALVID,
		BorrowInMakeVO.MATERIALCODE,
		BorrowInMakeVO.MATERIALNAME,
		BorrowInMakeVO.MATERIALSPEC,
		BorrowInMakeVO.MATERIALTYPE,
		BorrowInMakeVO.NSCANNUM,
		BorrowInMakeVO.NSCANASTNUM,
		BorrowInMakeVO.VCHANGERATE,
		BorrowInMakeVO.CUNITID,
		BorrowInMakeVO.CUNITID_NAME,
		BorrowInMakeVO.CASTUNITID,
		BorrowInMakeVO.CASTUNITID_NAME,
		BorrowInMakeVO.VBATCHCODE,
		BorrowInMakeVO.PK_BATCHCODE,
		BorrowInMakeVO.VSERIALCODE,
		BorrowInMakeVO.PK_RACK,
		BorrowInMakeVO.PK_RACK_NAME
		
    ]};
    
    BorrowInMakeVO.prototype.getTableName = function(){
		return "ic_BorrowInMake";
	};
	BorrowInMakeVO.prototype.getPrimaryAttr = function(){
		return BorrowInMakeVO.PK_SCAN;
	};
	
}catch(e){$e(e);}